/**
 * @description 头部
 */
const headerDefaultData = {
  version: '001',
  base: {
    title_flag: true,
    title_img_flag: true,
    title_img_url: "http://codegen.caihongy.cn/20241008/fbafeed7f8ba433a89d57f0ca0d7eaf5.jpg",
    time_format: "YYYY-MM-DD HH:mm:ss",
    notice_type: "2",
    notice_flag: true,
    notice_text: "公告",
    search_flag: false,
    icon_cart: 'ShoppingCartOutlined',
    icon_chat: 'MessageOutlined',
    icon_center: 'UserOutlined',
    icon_admin: 'LinkOutlined',
    icon_logout: 'LogoutOutlined',
    text_cart: '购物车',
    text_center: '个人中心',
    text_admin: '后台管理',
    text_logout: '退出登录',
  },
  blockKeys: [
    "headersearch"
  ],
  page: {
    classname: ".layout-container",
    default: {
      minHeight: "100vh",
      minWidth: "1400px",
      padding: "0",
      margin: "0",
      position: "relative",
      background: "#FFF",
    }
  },
  header: {
    classname: ".header-wrapper",
    default: {
      color: "#000",
      position: "relative",
      top: "0",
      left: "0",
      width: "100%",
      height: "60px",
      padding: "0 20px",
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      gap: "10px",
      background: "linear-gradient(276deg, rgba(255, 207, 179, 0.9) 0%, rgba(255, 250, 246, 0.9) 99%)",
      zIndex: "1",
    }
  },
  title: {
    classname: ".header-wrapper .title-box",
    default: {
      flex: "1 1 auto",
      display: "flex",
      alignItems: "center",
      justifyContent: "flex-start",
      order: "1",
    }
  },
  title_text: {
    classname: ".header-wrapper .title-box .title",
    default: {
      color: "inherit",
      fontSize: "24px",
      fontWeight: "600",
    }
  },
  title_img: {
    classname: ".header-wrapper .title-box .img",
    default: {
      width: "40px",
      height: "40px",
      margin: "0 0 0 20px"
    }
  },
  weather: {
    classname: ".weather-box",
    default: {
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      gap: "6px",
      fontSize: "14px",
      color: "inherit",
      margin: "0 10px 0 0",
      order: "4",
    },
  },
  weather_city: {
    classname: ".weather-box .city",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_tem: {
    classname: ".weather-box .tem",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_wea: {
    classname: ".weather-box .wea",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_win: {
    classname: ".weather-box .win",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_speed: {
    classname: ".weather-box .speed",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  time: {
    classname: ".header-wrapper .time-box",
    default: {
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      fontSize: "14px",
      color: "inherit",
      margin: "0 10px 0 0",
      order: "3",
    },
  },
  // type == 2的样式
  notice: {
    classname: ".header-wrapper .notice-box",
    default: {
      height: "40px",
      display: "flex",
      order: "2",
    },
  },
  notice_title: {
    classname: ".header-wrapper .notice-title",
    default: {
      background: "#965F40",
      padding: "0 10px",
      color: "#000",
      fontSize: "16px",
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
    },
  },
  notice_content: {
    classname: ".header-wrapper .notice-content",
    default: {
      width: "300px",
      color: "rgba(0, 0, 0, 0.88)",
      fontSize: "14px",
      flex: "1 1 auto",
      background: "#e6f4ff",
      border: "0 solid #91caff",
      padding: "8px 12px",
      lineHeight: "initial",
      borderRadius: "0",
    },
  },
  // type == 1的样式
  notcie1: {
    classname: ".layout-container .header-wrapper .notice1-box",
    "default": {
      color: "rgba(0, 0, 0, 0.88)",
      "fontSize": "14px",
      "lineHeight": "1.5714285714285714",
      height: "32px",
      padding: "0px 7px",
      borderRadius: "6px",
      order: "4",
    },
    "hover": {
      color: "rgba(0, 0, 0, 0.88)",
      background: "rgba(0, 0, 0, 0.06)"
    }
  },
  headersearch: {
    headersearch_box: {
      classname: ".headersearch",
      default: {
        padding: "0",
        margin: "0",
        order: "5",
      },
    },
    headersearch_select: {
      classname: ".headersearch .ant-input-group .ant-input-group-addon:first-child",
      default: {
        height: "32px",
        width: "120px",
        padding: "0 11px",
        background: "rgba(0, 0, 0, 0.02)",
        border: "1px solid #d9d9d9",
        borderRight: "none",
        borderRadius: "6px 0 0 6px",
      }
    },
    headersearch_select_input: {
      classname: ".headersearch .ant-input-group .ant-input-group-addon .ant-select-selector",
      default: {
        color: "rgba(0, 0, 0, 0.88)",
        fontSize: "14px",
        padding: "0 11px"
      }
    },
    headersearch_select_icon: {
      classname: ".headersearch .ant-select .ant-select-arrow",
      default: {
        position: "absolute",
        top: "50%",
        height: "12px",
        margin: "-6px 0 0 0",
        "fontSize": "12px",
        "color": "rgba(0, 0, 0, 0.25)",
      }
    },
    headersearch_input: {
      classname: ".headersearch .ant-input-group .ant-input-affix-wrapper",
      default: {
        width: "auto",
        height: "32px",
        color: "rgba(0, 0, 0, 0.88)",
        fontSize: "14px",
        padding: "4px 11px",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
      },
      focus: {
        "border": "1px solid #4096ff",
        boxShadow: "0 0 0 2px rgba(5, 145, 255, 0.1)",
      }
    },
    headersearch_input_icon: {
      classname: ".headersearch .ant-input-affix-wrapper .ant-input-clear-icon",
      "default": {
        color: "rgba(0, 0, 0, 0.45)"
      },
      "hover": {
        color: "rgba(0, 0, 0, 0.88)"
      }
    },
    headersearch_btn: {
      classname: '.headersearch .ant-input-search >.ant-input-group .ant-input-group-addon .ant-input-search-button',
      "default": {
        fontSize: "14px",
        color: "#fff",
        background: "#1677ff",
        "margin": "0",
        padding: "4px 15px",
        "width": "100%",
        height: "32px",
        lineHeight: "1.5714285714285714",
        borderRadius: "0 6px 6px 0",
        border: "1px solid transparent",
      },
      "hover": {
        color: "#fff",
        background: "#4096ff",
      }
    },
  },

  user: {
    classname: ".header-wrapper .avatar-box",
    default: {
      cursor: "pointer",
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      order: "6",
    },
  },
  user_avatar: {
    classname: ".header-wrapper .avatar-box .avatar",
    default: {
      width: "32px",
      height: "32px",
      border: "1px solid transparent"
    },
  },
  user_name: {
    classname: ".header-wrapper .avatar-box .name",
    default: {
      fontSize: "14px",
      color: "inherit",
    },
  },
  user_login: {
    classname: ".header-wrapper .avatar-box .login-btn",
    "default": {
      fontSize: "14px",
      color: "#fff",
      background: "#1677ff",
      "margin": "0",
      padding: "4px 15px",
      "width": "auto",
      height: "32px",
      lineHeight: "1.5714285714285714",
      borderRadius: "6px",
      border: "1px solid transparent",
    },
    "hover": {
      color: "#fff",
      background: "#4096ff",
    }
  },
  footer: {
    classname: ".bottom-wrapper",
    default: {
      width: "100%",
      height: "auto",
      minHeight: "120px",
      padding: "20px 0",
      margin: "0",
      order: "10",
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      background: "#1A3194",
    }
  },
  css: "/* 头部样式文件 */"
}

export default headerDefaultData